Menu Commands > The menu command API > isCommandChecked() |
![]() ![]() ![]() |
Description
Determines whether to display a check mark next to the menu item.
Arguments
{arg1}
, {arg2}
,...{argN}
If the arguments
attribute is defined for a menuitem
tag, the value of that attribute is passed to the isCommandChecked()
function (and to the canAcceptCommand()
, receiveArguments()
, and setMenuText()
functions) as one or more arguments. The arguments
attribute is useful for distinguishing between two menu items that call the same menu command.
Returns
A Boolean value indicating whether a check mark should appear next to the menu item.
![]() ![]() ![]() |